[#ftl]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title>论坛首页</title>
        <style type="text/css" media="all">

        </style>
        <link rel="stylesheet" type="text/css" href="${base}/skin/default/css/base.css" />
        <link rel="stylesheet" type="text/css" href="${base}/skin/default/css/custom.css" />
        <link rel="stylesheet" type="text/css" href="${base}/skin/default/css/style.css" />
    </head>
    <body>
                [#list categories as category]
                <div class="cat-collapse" style="display:none" id="fc_1">
                    <h2>
                        <a href="javascript:togglecategory(1, 0);"><img src="${images}/box_expand.gif" alt="Expand" /></a>	&nbsp;
                        <a href="viewcategory.action?id=${category.id}">${category.name}</a>
                    </h2>
                </div>

                <div class="cat-expand" style="display:" id="fo_1">
                    <h2>
                        <a href="javascript:togglecategory(1, 1);"><img src="${images}/box_collapse.gif" alt="Collapse" /></a> &nbsp;
                        <a href="viewcategory.action?id=${category.id}">${category.name}</a>
                    </h2>
                    <table class="index-table" cellspacing="0" cellpadding="3" border="0">
                        <tr>
                            <th colspan="2" width="66%">论坛</th>
                            <th style='text-align:center' width="7%">主题</th>
                            <th style='text-align:center' width="7%">回复</th>
                            <th width="35%">最后更新</th>
                        </tr>

                        [#list category.boards as board]
                        <tr>
                            <td align="center" width="1%">
                                <a id='f-2' href="board.action?bid=${board.id}" title="标记论坛为已读?">
                                    <img src="${images}/forum_has_new.gif" alt="New" />
                                </a>
                            </td>
                            <td>
                                <strong><a href="board.action?boardName=${board.name}">${board.name}</a></strong>
                                <br />
                                <span class="item-desc">${board.description}
                                    <br />
                                    <i>论坛管理员:
                                        [#list board.admins as admin]
                                        <a href="memberinfo.action?name=${admin}">${admin}</a>,
                                        [/#list]
                                    </i>
                                </span>
                            </td>
                            <td align="center" class="item-info">${board.topicCount}</td>
                            <td align="center" class="item-info">${board.postCount}</td>
                            <td class="item-info">
                                <a href="viewtopic.action?id=" title="转到最新帖子">
                                    <span title="Go to Last Post">&raquo;</span>
                                </a>
                                <strong>
                                    <a href="#" title='转到第一个未读帖子: 怎么去除9008版本中地址栏后面的搜索栏???'>怎么去除9008版本中地址栏后面的搜索栏???</a></strong><br />
                                <a href="memberinfo.action?name=${board.updateUser?if_exists}">${board.updateUser?if_exists}</a> (${board.updateTime?if_exists})
                            </td>
                        </tr>
                        [/#list]
                    </table>
                </div>
                [/#list]

                    <div style="text-align: center;">
                        <a href="http://forum.maxthon.cn/index.php?act=Login&amp;CODE=06&amp;k=63b0f1ab575b1544d47b9f8a6aa878a0">删除由此论坛设置的 Cookies</a>
                        &middot;
                        <a href="http://forum.maxthon.cn/index.php?act=Login&amp;CODE=05">标记所有帖子为已读</a>
                        &middot;
                        <a href="http://forum.maxthon.cn/index.php?act=search&amp;CODE=getactive">今日活跃主题</a>
                        &middot;
                        <a href="http://forum.maxthon.cn/index.php?act=Stats&amp;CODE=leaders">管理团队</a>
                        &middot;
                        <a href="http://forum.maxthon.cn/index.php?act=stats">今日前 10 名发帖人</a>
                        &middot;
                        <a href="http://forum.maxthon.cn/index.php?act=Members&amp;max_results=20&amp;sort_key=posts&amp;sort_order=desc&amp;filter=ALL">总计前 10 名发帖人</a>
                    </div>

                    <div class="cat-collapse" style="display:none" id="fc_stat">
                        <h2>
                            <a href="javascript:togglecategory('stat', 0);"><img src='style_images/maxthon/images/box_expand.gif' alt='Expand' /></a>
                            &nbsp; 论坛统计
                        </h2>
                        <table class='index-table' width="100%" cellspacing="0">
                            <tr><th>

                                    130,674 帖 | 93,583 个成员 |

                                    182 用户在线
                            </th></tr>
                        </table>
                    </div>


                    <div class="cat-expand" style="display:" id="fo_stat">
                        <h2>
                            <a href="javascript:togglecategory('stat', 1);">
                            <img src="${images}/box_collapse.gif" alt="Collapse" />
                            </a>
                            &nbsp; 论坛统计
                        </h2>
                        <table class="index-table" width="100%" cellspacing="0">
                            <tr>
                                <th colspan="2">182 个成员在最近 10 分钟内活动</th>
                            </tr>
                            <tr>
                                <td width="1%"><img src="${images}/stat_user.gif" alt="Active Users" /></td>
                                <td class="item-info">
                                    <strong>98</strong> 游客, <strong>84</strong> 成员, <strong>0</strong> 匿名成员
                                    <a href='http://forum.maxthon.cn/index.php?showuser=575996' title='08:54 PM'>lksweilin</a>, 
                                    Google.com, 
                                    <a href='http://forum.maxthon.cn/index.php?showuser=804413' title='08:54 PM'>spmercury</a>, 
                                    <b>显示模式:</b> <a href="http://forum.maxthon.cn/index.php?act=Online&amp;CODE=listall&amp;sort_key=click">最后点击</a>, <a href="http://forum.maxthon.cn/index.php?act=Online&amp;CODE=listall&amp;sort_key=name&amp;sort_order=asc&amp;show_mem=reg">成员名称</a>
                                </td>
                            </tr>
                            <tr>
                                <th colspan="2">今天生日 </th>
                            </tr>
                            <tr>
                                <td width="1%"><img src="${images}/stat_calendar.gif" border="0"  alt="Calendar" /></td>
                                <td class="item-info">

                                    <strong>24</strong> 个成员今天生日<br />
                                    <a href='http://forum.maxthon.cn/index.php?showuser=138889'>RJ(138889)</a>(<b>23</b>),
                                    <a href='http://forum.maxthon.cn/index.php?showuser=13826'>沙滩凉鞋</a>(<b>22</b>),
                                </td>
                            </tr>
                            <tr>
                                <th colspan="2">论坛统计</td>
                            </tr>
                            <tr>
                                <td width="1%"><img src="${images}/stat_forum.gif" alt="Board Stats" /></td>
                                <td class="item-info">我们的用户总共发表了 <b>130,674</b> 篇文章<br />共有 <b>93,583</b> 位注册用户<br />最近注册的用户 <b><a href='http://forum.maxthon.cn/index.php?showuser=800687'>x-bibby</a></b><br />最高在线记录为 <b>2007-04-11 16:53:59</b> 共有 <b>450</b> 位成员同时在线</td>
                            </tr>
                        </table>
                    </div>

    </body>
</html>
